package com.hig.risk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 重大隐患判定依据对象 risk_self_inspection_basis
 * 
 * @author scp
 * @date 2024-11-29
 */
public class RiskSelfInspectionBasis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 判定依据 */
    @Excel(name = "判定依据")
    private String basis;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 备用 */
    private String remarkSpare;

    /** 备用1 */
    private String remarkSpare1;

    /** 备用2 */
    private String remarkSpare2;

    /** 部门ID */
    private Long deptId;

    private String inspectionTime;

    private List<RiskSelfInspection> contentList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBasis(String basis) 
    {
        this.basis = basis;
    }

    public String getBasis() 
    {
        return basis;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setRemarkSpare(String remarkSpare) 
    {
        this.remarkSpare = remarkSpare;
    }

    public String getRemarkSpare() 
    {
        return remarkSpare;
    }
    public void setRemarkSpare1(String remarkSpare1) 
    {
        this.remarkSpare1 = remarkSpare1;
    }

    public String getRemarkSpare1() 
    {
        return remarkSpare1;
    }
    public void setRemarkSpare2(String remarkSpare2) 
    {
        this.remarkSpare2 = remarkSpare2;
    }

    public String getRemarkSpare2() 
    {
        return remarkSpare2;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public List<RiskSelfInspection> getContentList() {
        return contentList;
    }

    public void setContentList(List<RiskSelfInspection> contentList) {
        this.contentList = contentList;
    }

    public String getInspectionTime() {
        return inspectionTime;
    }

    public void setInspectionTime(String inspectionTime) {
        this.inspectionTime = inspectionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("basis", getBasis())
            .append("num", getNum())
            .append("sort", getSort())
            .append("remark", getRemark())
            .append("remarkSpare", getRemarkSpare())
            .append("remarkSpare1", getRemarkSpare1())
            .append("remarkSpare2", getRemarkSpare2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
